<template>
	<view class="content">
		<lxc_nav :text="this.$t('all.friend')" :bacicon="'#fff'" :background='bac'></lxc_nav>
		<view id="box">
			<view class="ba_top">
				<image src="../../static/my/bjt2.png" mode=""></image>
			</view>
			<view class="share_text">
				<text>{{$t('all.s3')}}</text></br>
				<text>{{$t('all.t3')}}</text>
			</view>
			<view class="share_img">
				<image class="backimg" src="../../static/my/bsbj.png" mode=""></image>
				<view class="inview">
					<text>{{$t('all.u3')}}</text></br>
					<text>SSYKGS</text></br>
					<text>{{$t('all.v3')}}</text>
					<view class="inview_img">
						<image src="../../static/my/erweima.png" mode=""></image>
					</view>
					<text>{{$t('all.w3')}}</text></br>
					<text>{{$t('all.x3')}}</text>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	import lxc_nav from '../../components/nav.vue'
	export default {
		components: {
			lxc_nav
		},
		onPageScroll(e) {
			// 传入scrollTop值并触发所有easy-loadimage组件下的滚动监听事件
			// this.scrollTop = e.scrollTop;
			console.log(e.scrollTop);
			if (e.scrollTop > 22) {
				this.bac = {
					backgroundImage: 'linear-gradient(150deg,rgba(25, 137, 250, 1), rgba(18, 174, 255, 1))'
				}
			} else {
				this.bac = {
					backgroundImage: 'linear-gradient(150deg,rgba(25, 137, 250, 0), rgba(18, 174, 255, 0))'
				}
			}
		},
		data() {
			return {
				bac: {
					backgroundImage: 'linear-gradient(150deg,rgba(25, 137, 250, 0), rgba(18, 174, 255, 0))'
				}
			}
		},
		onLoad() {

		},
		methods: {

		}
	}
</script>

<style lang="scss" scoped>
	.content{
		overflow: hidden;
	}
	#box {
		position: absolute;
		height: 100vh;
		width: 100vw;
	}
	.ba_top {
		position: absolute;
		width: 100vw;
		height: 100vh;
		top: 0px;
	}
	.ba_top image{
		width: 100vw;
		height: 100vh;
		top: 0px;
	}
	.share_text{
		width: 100vw;
		text-align: center;
	}
	.share_text text:nth-child(1){
		position: relative;
		height: 132rpx;
		font-size: 70rpx;
		font-family: FZChaoCuHei-M10S;
		font-weight: 400;
		color: #FFFFFF;
		line-height: 132rpx;
		top: 95rpx;
	}
	.share_text text:nth-child(3){
		position: relative;
		height: 132rpx;
		font-size: 42rpx;
		font-family: FZChaoCuHei-M10S;
		font-weight: 400;
		color: #FFFFFF;
		line-height: 132rpx;
		top: 43rpx;
	}
	.share_img{
		height: 840rpx;
		width: 640rpx;
		position: relative;
		top: 70rpx;
		margin-left: 50%;
		left: -320rpx;
	}
	.inview{
		width: 100%;
		height: 100%;
		z-index: 2;
		position: relative;
		text-align: center;
	}
	.backimg{
		position: absolute;
		width: 100%;
		height: 100%;
		top: 0px;
		z-index: 1;
	}
	.inview text:nth-child(1){
		display: inline-block;
		height: 35rpx;
		font-size: 32rpx;
		font-family: PingFang SC;
		font-weight: bold;
		color: #333333;
		line-height: 35rpx;
		margin-top: 49rpx;
	}
	.inview text:nth-child(3){
		display: inline-block;
		height: 60rpx;
		font-size: 48rpx;
		font-family: PingFang SC;
		font-weight: bold;
		color: #1991FF;
		line-height: 60rpx;
		margin-top: 20rpx;
	}
	.inview text:nth-child(5){
		display: inline-block;
		width: 220rpx;
		height: 68rpx;
		font-size: 28rpx;
		font-family: PingFang SC;
		color: #FFFFFF;
		line-height: 68rpx;
		background: #1991FF;
		margin-top: 20rpx;
		border-radius: 10rpx;
		margin-top: 39rpx;
	}
	.inview_img{
		width: 210rpx;
		height: 210rpx;
		// background-color: red;
		margin: 0 auto;
		margin-top: 100rpx;
	}
	.inview_img image{
		height: 100%;
		width: 100%;
	}
	.inview text:nth-child(7){
		display: inline-block;
		width: 220rpx;
		height: 68rpx;
		font-size: 28rpx;
		font-family: PingFang SC;
		color: #FFFFFF;
		line-height: 68rpx;
		background: #1991FF;
		margin-top: 20rpx;
		border-radius: 10rpx;
		margin-top: 44rpx;
	}
	.inview text:nth-child(9){
		display: inline-block;
		height: 60rpx;
		font-size: 28rpx;
		font-family: PingFang SC;
		font-weight: 500;
		color: #333333;
		line-height: 60rpx;
		margin-top: 40rpx;
	}
</style>
